home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Internet Tools 1993 July / Internet Tools.iso / RockRidge / mail / pp / pp-6.0 / examples / xtel / tailor < prev    next >
Encoding:
Text File  |  1991-12-18  |  14.0 KB  |  440 lines

  1. ############################################################
  2. #
  3. # Tailor file for PP
  4. #
  5. #      This version for sites with local smtp
  6. #
  7. ############################################################
  8.  
  9. ############################################################
  10. #
  11. # The following variables will need tailoring 
  12. #
  13. ############################################################
  14. #
  15. # The loc_dom_mta is the host that the MTA will reside on and execute from
  16. # It is a fully qualified domain name and represent the physical machine
  17. #    Examples might be
  18. #        cheetah.nyser.net
  19. #              violet.berkeley.edu
  20. #        john.cs.nott.ac.uk
  21. #
  22. loc_dom_mta    lancaster.xtel.co.uk
  23. #
  24. # The Sitename is what the rest of the world sees you as. This is typically
  25. # a domain shorter than the full domain name. It is the name used to represent
  26. # your site or group as a whole. This name normally hides the individual 
  27. # machine names
  28. #    Examples might be
  29. #        berkeley.edu
  30. #        nyser.net
  31. #        cs.nott.ac.uk
  32. #
  33. loc_dom_site    xtel.co.uk
  34. #
  35. # The postmaster should include the local site name
  36. # e.g. postmaster@berkeley.edu or postmaster@cs.nott.ac.uk
  37. #
  38. postmaster    postmaster@xtel.co.uk
  39.  
  40. #adminstration_assigned_alternate_recipient pac
  41.  
  42. #
  43. # The pplogin should be the username of the owner of pp.
  44. #
  45. pplogin        pp
  46. #
  47. # The qmgrhost should be the same as the name found in isoentities file.
  48. # This can be the same as loc_dom_mta name
  49. #
  50. pptsapd_addr    LOCAL-ETHER=lancaster+20001
  51. qmgrhost    lancaster
  52. #
  53. # The local or name should be the name of your site in X.400 terms.
  54. # This is attribute value based, and starts with organisational units and
  55. # works up to country. If you are unsure, leave it with just a country
  56. # component, e.g. "/C=GB/"
  57. #
  58. loc_or        "/o=xtel/prmd=X-Tel Services/admd= /c=GB/"
  59. ############################################################
  60. #
  61. # That is the end of the things you must tailor - the rest are
  62. # probably ok - but you should check.
  63. #
  64. ############################################################
  65.  
  66. delim1        "\1\1\1\1\12"
  67. delim2        "\1\1\1\1\12"
  68. #returntime 36
  69. #queuestruct    100
  70. dap_user    "c=GB@o=X-Tel Services Ltd@cn=lancaster@cn=pp qmgr"
  71.  
  72.  
  73. authchannel    free
  74. authloglevel    high
  75. wrndfldir    warnings
  76. #submit_addr    lancaster:pp-submit
  77.  
  78. # Body types
  79.  
  80. headertype    822 822-jnt 822-us p2 822-uk p22 ipn g3fax ps
  81. bodypart    encrypted g3fax ia5 ipm national sfd tif0 tif1
  82. bodypart    tlx undefined videotex voice odif iso6937
  83. bodypart    bilateral external
  84. bodypart    dmd ia5-dk ps ms
  85. bodypart    oid.0.9.2342.60200172.99.1.4 
  86.  
  87.  
  88.  
  89. #  **-- Mapping tables --**
  90. #
  91. # All of these table MUST have the names given here
  92. tbl    aliases        show="Aliases: mapping -> local id",
  93.             flags=dbm
  94. tbl    users        show="Users: mapping local id -> disposition",
  95.             flags=dbm
  96. tbl    x400-developers-aliases    show="Aliases: mapping -> local id",
  97.             flags=linear
  98. tbl    x400-developers-users    show="Users: mapping local id -> disposition",
  99.             flags=linear
  100. tbl    domain        show="Mapping domain key ->full domain/MTA",
  101.             flags=dbm
  102. tbl    or        show="Mapping O/R Address -> MTA",flags=dbm
  103. tbl    channel        show="Binding MTA -> Channels",flags=dbm
  104. tbl    or2rfc        show="RFC 987: X.400 -> RFC 822",flags=dbm
  105. tbl    rfc2or        show="RFC 987: RFC 822 -> X.400",flags=dbm
  106. tbl    rfc1148gate    show="Gateways that perform RFC 1148 conversions",
  107.             flags=dbm
  108. tbl    auth.channel    show="Authorisation: channel policy",flags=dbm
  109. tbl    auth.mta    show="Authorisation: mta based",flags=dbm
  110. tbl    auth.user    show="Authorisation: user based",flags=dbm
  111. tbl    auth.qmgr    show="Authorisation: qmgr control",flags=dbm
  112. #  **-- Channel tables --**
  113. #
  114. # Needed by individual channels, not submit
  115. tbl    local        file="ch.local",
  116.             show="local id -> user id + home directory",
  117.             flags=dbm
  118.  
  119. tbl    x400in84    file="ch.x400in84",
  120.             show="MTA -> connect info",flags=linear
  121. tbl    x400out84    file="ch.x400out84",
  122.             show="X.400(84) connect info -> MTA + other info",
  123.             flags=linear
  124. tbl    x400in88    file="ch.x400in88",
  125.             show="MTA -> connect info",flags=linear
  126. tbl    x400out88    file="ch.x400out88",
  127.             show="X.400(88) connect info -> MTA + other info",
  128.             flags=linear
  129. tbl    shell        file="ch.shell",
  130.             show="info for shell chan"
  131.             flags=dbm
  132. tbl    list        file="ch.list",
  133.             show="Lists: distribution lists",
  134.             flags=dbm
  135. tbl    uucp        file="ch.uucp"
  136.             show="UUCP: rfc822 -> uucp",
  137.             flags=dbm
  138. tbl     fax        file="ch.fax",
  139.                         show="FAX: mappings and info",
  140.                         flags=linear
  141. tbl    mslocal        file="ch.mslocal",
  142.             show="Message Store:local id -> user id,home directory",
  143.             flags=linear
  144.  
  145. chan    822-local        prog=local,
  146.     show="Local Delivery channel",type=both,
  147.     sort="user time",adr=822,adr-order=usapref,
  148.     hdrin=822,hdrout=822-us,
  149.     bptin=ia5,bptout=ia5,
  150.     content-out=822,outtable=local,access=mts,drchan=dr2rfc
  151.  
  152. chan    slocal          prog=slocal,
  153.         show="via Structured Local Delivery channel",
  154.     type=both,
  155.     sort="user time",adr=822,adr-order=ukpref,
  156.     hdrin=822,hdrout=822-uk,
  157.     bptin="ia5,odif",
  158.     bptout="ia5,odif",
  159.     content-out=822,outtable=local,access=mts,
  160.     drchan=dr2rfc
  161.  
  162. chan    bugs-local        prog=local,
  163.     show="Local Delivery channel for Bug Reports",type=both,
  164.     sort="user time",adr=822,adr-order=usapref,
  165.     hdrin=822,hdrout=822-us,
  166.     bptin=ia5,bptout=ia5,
  167.     content-out=822,outtable=local,access=mts,drchan=dr2rfc
  168.  
  169. chan    x40088    show="X400 (1988)", type=both, adr=x400, adr-order=ukpref,
  170.         key=x400in88, content-in=p22, intable=x400in88, prog=x400out88,
  171.         content-out=p22, hdrout="p22,ipn",
  172.         bptout="ia5,g3fax,voice,odif,iso6937,oid.0.9.2342.60200172.99.1.4",
  173.         outtable=x400out88,probe=y
  174.  
  175. chan    x40084    show="X400 (1984)", type=both, adr=x400,probe=y
  176.         adr-order=ukpref, key=x400in84, content-in=p2,
  177.         intable=x400in84, prog=x400out84, content-out=p2,
  178.         hdrout=p2, bptout="ia5,g3fax,odif", outtable=x400out84
  179.  
  180. chan    xua        show="XUA Submission Channel",type=in,
  181.             access=mts,adr-order=ukpref,
  182.             adr=x400, access=mts,
  183.  
  184. chan    mslocal        prog=mslocal,show="MS local delivery",type=out,
  185.             hdrout="p22,p2,ipn",
  186.             bptout="encrypted,g3fax,ia5,ipm,national,sfd,tif0,tif1,tlx,undefined,videotex,voice,odif,iso6937,bilateral,external",
  187.             outtable=mslocal,
  188.             sort="user time",access=mts
  189.  
  190. chan    mslocal-beta    prog=mslocalbeta,show="MS local delivery",type=out,
  191.             hdrout="p22,p2,ipn",
  192.             bptout="encrypted,g3fax,ia5,ipm,national,sfd,tif0,tif1,tlx,undefined,videotex,voice,odif,iso6937,bilateral,external,oid.0.9.2342.60200172.99.1.4",
  193.             outtable=mslocal,
  194.             sort="user time",access=mts
  195.  
  196. chan    smtp        prog=smtp,show="with SMTP (PP)",type=both,
  197.             adr=822,adr-order=usapref,drchan=dr2rfc,
  198.             bptout=ia5,hdrout=822-us,content-out=822,
  199. #            bad-sender-policy=address,
  200. #            bad-sender-addr=pac
  201.  
  202. chan    pac-janet    prog="greyout -P",show="via JANET with NIFTP (PP)",
  203.             type=in, adr=822,
  204.             hdrin=822-us,bad-sender-policy=sloppy,
  205.             out-info=janet
  206.  
  207. chan    gb-janet        prog="greyout -P",show="via JANET with NIFTP (PP)",
  208.             type=both, adr=822,adr-order=ukpref,
  209.             hdrout=822-jnt,
  210.             bptout=ia5,drchan=dr2rfc,
  211.             content-out=822,out-info=janet
  212. #            mta=much.cs.nott.ac.uk,
  213.  
  214. chan    gb-pss        prog=smtp,key=ipss,
  215.             show="via PSS with NIFTP (PP)",type=both,
  216.             adr=822,adr-order=ukpref,drchan=dr2rfc,
  217.             bptout=ia5,hdrout=822-jnt,
  218.             content-out=822,mta=much.cs.nott.ac.uk
  219.  
  220. chan    fax             prog=ps250, show="Fax channel",type=both,
  221.                         content-in=p22, hdrin=p22, bptin=g3fax,
  222.             hdrout=g3fax, bptout=g3fax, maxproc=1,
  223.             drchan=dr2rfc,outtable=fax, sort="user time",
  224.                         out-info="out=/dev/faxout,confirm=always,softcar=used",
  225.             in-info="in=/dev/faxout,softcar=used,master=gal@xtel.co.uk"
  226.  
  227. chan    dirlist        prog=dirlist,show="Directory List channel",type=both,
  228.             adr=x400,adr-order=usapref,
  229.             sort="user time", out-info="dn=C=GB@O=X-Tel Services Ltd@CN=lancaster"
  230.  
  231. chan    list        prog=list,show="List channel",type=both,
  232.             adr-order=usapref,out-info="linked",
  233.             outtable=list,sort="user time"
  234.  
  235. chan    uucp        prog=uucp-out,key="uucp-out,rmail",
  236.             show="UUCP channel",type=both,
  237.             adr=822,adr-order=ukpref,outtable=uucp
  238.             out-info="uux=/tmp/uux,host=nott-cs",drchan=dr2rfc
  239.  
  240. chan    dr2rfc        prog=dr2rfc,show="Dr2rfc channel",type=both,
  241.             adr=822,adr-order=ukpref,
  242.             bptin=ia5,hdrin=822,
  243.             out-info="return=all order=uk",
  244.             content-out=822
  245.  
  246. chan    shell        prog=shell,type=out,access=mts
  247.             show="Shell channel",
  248.             outtable=shell,sort="user time",
  249.             bptout="ia5,ps",hdrout=822-uk
  250.  
  251. # QMGR special channels (load/manage/clean)
  252.  
  253. chan    qmgr-load    prog=qmgr-load,show="Loading the QMGR",
  254.             type=qmgrload,out-info="5";
  255.  
  256. chan    msg-clean    prog=msg-clean,show="Removing finished message"
  257.             type=delete
  258.  
  259. chan    trash        prog=trash,show="Removing trash"
  260.             type=debris,out-info=3h
  261.  
  262. chan    timeout        prog=timeout,show="Timeout messages"
  263.             type=timeout
  264.  
  265. chan    warning        prog=warnings,show="Send warning messages",
  266.             type=warn, out-info="copy-to"
  267.  
  268. chan    splitter    prog=splitter,type=split,
  269.             show="Divide message into single"
  270. recipient messages
  271. #  **-- shaper channels --**
  272.  
  273. #   Flatteners
  274.  
  275. chan    p2flatten    prog=p2flatten,show="Structured message -> P2",
  276.             type=shaper,content-out=p2
  277.  
  278. chan    822flatten    prog=rfc934,type=shaper,content-out=822
  279.  
  280. chan    p22flatten    prog=p2flatten,show="Structured Message -> P22",
  281.             type=shaper,content-out=p22
  282.  
  283. #   Unflatteners
  284.  
  285. chan    p2explode    prog=p2explode,type=shaper,content-in=p2
  286.  
  287. chan    p22explode    prog=p2explode,type=shaper,content-in=p22
  288.  
  289.  
  290. # Header Filters
  291. chan    822tofax        prog=fcontrol,type=shaper,
  292.                         hdrin=822-us,hdrout=g3fax,n
  293.                         out-info="hdr2fax -from $(400sender) -to $(400recip) -subject $(ua-id) -table $(outtable) -outmta $(outmta)",outtable=fax,
  294.                         cost=20,solo-proc=yes
  295. chan    822touk        prog=fcontrol,type=shaper,
  296.             hdrin=822,
  297.             hdrout=822-uk,
  298.             out-info="rfc822norm -jnt -bigend"
  299. chan    822tojnt    prog=fcontrol,type=shaper,
  300.             hdrin=822,hdrout=822-jnt,
  301.             out-info="rfc822norm -jnt -bigend -jntsender $(822SENDER)"
  302. chan    822tous        prog=fcontrol,type=shaper,hdrin=822,
  303.             hdrout=822-us,
  304.             out-info="rfc822norm -822 -littleend"
  305. chan    822top22    prog=RFCtoP2,type=shaper,hdrin=822-us,conv=1148
  306.             hdrout=p22,cost=10,
  307.             show="RFC1148 RFC 822 -> P22"
  308. chan    822top2        prog=RFCtoP2,type=shaper,hdrin=822-us,conv=1148
  309.             hdrout=p2,cost=15,
  310.             show="RFC1148 RFC 822 -> P2"
  311. chan    p2to822        prog=P2toRFC,type=shaper,hdrout=822,conv=1148,
  312.             hdrin="p2,ipn",cost=10,
  313.             show="RFC1148 P2 -> RFC 822"
  314. chan    p22to822    prog=P2toRFC,type=shaper,hdrout=822,conv=1148
  315.             hdrin="p22,ipn",cost=10,
  316.             show="RFC1148 P22 -> RFC 822"
  317. chan    p22top2        prog=fcontrol,type=shaper,hdrout=p2,hdrin=p22,
  318.             show="P22 to P2 downgrade",
  319.             conv=conv,cost=10,out-info="p2norm -downgrade"
  320. #identity map
  321. chan    p2top22        prog=fcontrol,type=shaper,hdrout=p22,hdrin=p2,
  322.             show="P2 to P22 upgrade",cost=1,
  323.             out-info="/bin/cat"
  324.  
  325. # Body part filters
  326.  
  327. chan    ia5-dk2ia5    prog=fcontrol,type=shaper,bptin=ia5-dk,
  328.             bptout=ia5,show="Danish ia5 to ia5",
  329.             conv=loss,out-info="charset DK 38 UK 29"
  330.             
  331. chan    iso6937totxt    prog=fcontrol,type=shaper,bptin=iso6937,
  332.             bptout=ia5,conv=loss,cost=15,
  333.             out-info="asn -inchar iso_6937-2-add -outchar irv -inasn motis-86-6937 -outasn ia5",
  334.             show="ISO6937 -> IA5"
  335.  
  336. chan    g3faxtotxt    prog=fcontrol,type=shaper,bptin=g3fax,
  337.             bptout=ia5,out-info="removebp G3Fax",
  338.             show="Fax -> Text mapper",cost=100,conv=loss
  339. chan    tif0totxt    prog=fcontrol,type=shaper,bptin=tif0,
  340.             bptout=ia5,out-info="removebp Tif0",
  341.             show="Tif0 -> Text mapper",cost=100,conv=loss
  342. chan    txttofax        prog=fcontrol,type=shaper,bptin=ia5,
  343.                         bptout=g3fax,
  344.             out-info="ia52fax -table $(outtable)",outtable=fax,
  345.                         show="ia5 -> g3fax mapper"
  346.  
  347. chan    faxtops        prog=fcontrol,type=shaper,bptin=g3fax,
  348.             bptout=ps,out-info="fax2ps",show="fax -> postscript"
  349.  
  350. chan    mstops        prog=fcontrol,type=shaper,bptin=ms,
  351.             bptout=ps,out-info="/usr/local/bin/psroff -ms -t",
  352.             show="ms macros -> postscript"
  353.  
  354. chan    mstoia5        prog=fcontrol,type=shaper,bptin=ms,
  355.             bptout=ia5,out-info="/bin/cat",
  356.             show="MS->Text mapper",cost=100,conv=loss
  357.  
  358. chan    xxtotxt    prog=fcontrol,type=shaper,bptin=oid.0.9.2342.60200172.99.1.4,
  359.             bptout=ia5,out-info="removebp oid.0.9.2342.60200172.99.1.4"
  360.             show="XXX -> Text mapper",cost=100,conv=loss
  361.  
  362. chan    voicetotxt    prog=fcontrol,type=shaper,bptin=voice,
  363.             bptout=ia5,out-info="removebp Voice"
  364.             show="Voice -> Text mapper",cost=100,conv=loss
  365.  
  366. #  **-- Logging for the rest of the prog --**
  367. #
  368. authlog level=notice, size=-1
  369. operlog level=notice, size=400
  370. normlog level=notice, size=400, sflags=zero
  371.  
  372. 822flatten    normlog     file=filter
  373. p2flatten    normlog     file=filter
  374. 822touk        normlog     file=filter
  375. 822tous        normlog     file=filter
  376. dr2rfc        normlog     file=filter
  377. fcontrol    normlog     file=filter
  378. odif2txt    normlog     file=filter
  379. p2explode    normlog     file=filter
  380. rfc822norm    normlog     file=filter
  381. trash        normlog     file=filter
  382.  
  383. 822top2        normlog     file=rfc987
  384. p2to822        normlog     file=rfc987
  385.  
  386. list        normlog     file=lists
  387.  
  388. qmgr        normlog     file=qmgr
  389. qmgr-load    normlog     file=qmgr
  390.  
  391. smtp        normlog     file=smtp
  392. smtpsrvr    normlog     file=smtp
  393.  
  394. greyout        normlog     file=greyout
  395. gb-janet    normlog  file=greyin
  396. submit        normlog     file=submit dflags=close
  397.  
  398. local        normlog     file=local level=trace
  399. msg-clean    normlog     file=msg-clean
  400.  
  401. x400in84    normlog     file=x400in84,level=pdus
  402. x400in84    isodelog rtsaplevel file=rts,level=all
  403. x400in84    isodelog ssaplevel file=ssap,level=all
  404. x400out84    normlog     file=x400out84
  405.  
  406. x400in88    normlog     file=x400in88 level=pdus,level=trace
  407. x400out88    normlog     file=x400out88 #level=all
  408.  
  409. p7server    normlog     file=p7server level=all
  410.  
  411. xfax        normlog     file=fax level=debug
  412. xfaxd        normlog     file=fax #level=debug
  413. G3Fax        normlog     file=fax
  414. ps250        normlog     file=fax
  415. hdr2fax        normlog     file=fax
  416. ia52fax        normlog     file=fax
  417. fax        normlog     file=fax
  418. txttofax    normlog     file=fax
  419. 822tofax    normlog     file=fax
  420.  
  421. #x400out88 isodelog    rtsaplevel file=rts-out    level=all
  422. #x400out88 isodelog    acsaplevel file=acsap-out    level=all
  423. #x400out88 isodelog    psap2level file=psap2-out    level=all
  424. #x400out88 isodelog    ssaplevel file=ssap-out    level=all
  425.  
  426.  
  427. #x400in88 isodelog    rtsaplevel file=proto-in    level=all
  428. #x400in88 isodelog    acsaplevel file=proto-in    level=all
  429. #x400in88 isodelog    psap2level file=proto-in    level=all
  430.  
  431. pptsapd        normlog     file=pptsapd,        dlevel=notice
  432. dirlist        normlog    file=dirlist    
  433. mslocal        normlog file=mslocal
  434. xprobe        normlog file=probe level=trace,level=pdus level=all
  435. p7server    isode ns_enable off
  436. xua        isode ns_enable off
  437. libmsattr        isode ns_enable off
  438. #xckadr normlog level=all file=ckadr
  439. xt-rdmsg normlog file=rdmsg
  440.